// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_incoming_relays
// * CreateDate    : 2014-06-05 18:29:58
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:58
// * LastChanger   : 2014-06-05 18:29:58
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmIncomingRelaysTable : TableInfo
    {
		public const string C_TableName = "hm_incoming_relays";
		
		public const string C_relayid = "relayid";
		public const string C_relayname = "relayname";
		public const string C_relaylowerip1 = "relaylowerip1";
		public const string C_relaylowerip2 = "relaylowerip2";
		public const string C_relayupperip1 = "relayupperip1";
		public const string C_relayupperip2 = "relayupperip2";
		
		public HmIncomingRelaysTable()
        {
            _tableName = "hm_incoming_relays";
        }
		
		protected static HmIncomingRelaysTable _current;
        public static HmIncomingRelaysTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmIncomingRelaysTable();

            _current.Add(C_relayid, new ColumnInfo(C_relayid,"Relayid", true, typeof(int)));
            _current.Add(C_relayname, new ColumnInfo(C_relayname,"Relayname", false, typeof(string)));
            _current.Add(C_relaylowerip1, new ColumnInfo(C_relaylowerip1,"Relaylowerip1", false, typeof(long)));
            _current.Add(C_relaylowerip2, new ColumnInfo(C_relaylowerip2,"Relaylowerip2", false, typeof(long)));
            _current.Add(C_relayupperip1, new ColumnInfo(C_relayupperip1,"Relayupperip1", false, typeof(long)));
            _current.Add(C_relayupperip2, new ColumnInfo(C_relayupperip2,"Relayupperip2", false, typeof(long)));
			
		}
		
		public ColumnInfo relayid
        {
            get { return this[C_relayid]; }
        }
		
		public ColumnInfo relayname
        {
            get { return this[C_relayname]; }
        }
		
		public ColumnInfo relaylowerip1
        {
            get { return this[C_relaylowerip1]; }
        }
		
		public ColumnInfo relaylowerip2
        {
            get { return this[C_relaylowerip2]; }
        }
		
		public ColumnInfo relayupperip1
        {
            get { return this[C_relayupperip1]; }
        }
		
		public ColumnInfo relayupperip2
        {
            get { return this[C_relayupperip2]; }
        }
		
		
		
	}
}

